import React from 'react'
import Connect from '../connect'

const Uncle = ({group}) => {
  console.log('叔叔RUN')
  return <section className="c">我是你们的叔叔  {group}</section>
}

const mapStateToProps = (state) => {
  return {
    group: state.group.groupMajor,
  }
}
 
export default Connect(mapStateToProps)(Uncle)
